-- ImageDemoBasic.lua
-- Author: Mikael Kindborg
-- Date: 2011-02-22
-- Description: Basic demo that shows how to download and 
-- display an image in Lua.

System.downloadImage(
  "http://www.mosync.com/files/press/images/dusyant_thumb.png",
  function(image)
    if nil ~= image then
      maDrawImage(image, 0, 0)
      maUpdateScreen()
    end
  end
)
